Skip to content

Conversation

@sc-google
Copy link

Summary

fix for #2983

Added in support for handling server disconnects where a single attempt to reconnect will be attempted and if the disconnects are related to a keep_alive mismatch it attempts to lower the keep_alive value to avoid future disconnects.

If a RemoteProtocolError occurs after the first attempt to reconnect then the exception is thrown in line with current behaviour.

Checklist

  • [X ] I understand that this PR may be closed in case there was no previous discussion. (This doesn't apply to typos!)
  • [ X] I've added a test for each change that was introduced, and I tried as much as possible to make a single atomic change.
  • [ X] I've updated the documentation accordingly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants